package cn.org.donald.framework.property;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author ： Donald
 * @date ： 2020/10/25 01:53
 * @description：
 */
@Configuration
@ConfigurationProperties(prefix = "donald.file.path",ignoreInvalidFields = true)
public class FileProperties {

    private String upload = System.getProperty("user.dir");

    private String request = "/file/";

    public String getUpload() {
        return upload;
    }

    public void setUpload(String upload) {
        this.upload = upload;
    }

    public String getRequest() {
        return request;
    }

    public void setRequest(String request) {
        this.request = request;
    }
}
